package com.yogi.webframework.dao;

import java.io.Serializable;
import java.util.List;

public interface GenericDao<T, ID extends Serializable> {
    public T findById(final ID id);
    public void save(final T domain);
    public void delete(final T domain);
    public Integer count();
    public List<T> findAll();
}
